import {NativeModules} from 'react-native';
const WifiMgr = NativeModules.WifiMgr;

export default {
  // String ssid, String password, Callback callback
  connectTo: WifiMgr.connectTo,

  // boolean enable
  enable: WifiMgr.enable,

  // Callback connectionStatusResult (true or false)
  connectionStatus: WifiMgr.connectionStatus,
};
